/*
 * @Author: gao_m3
 * @Date: 2022-07-14 16:51:18
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-07-28 14:23:21
 * @Descripttion: 
 */
import request from '@/utils/request'

// 表单提交通用接口
export function submitForm (url, data) {
  return request({
    url: url,
    method: 'post',
    data,
  })
}

// 表单初始化通用接口
export function getFormData (url, data) {
  return request({
    url: url,
    method: 'post',
    data: data
  })
}
export function getApprovalList (params) {
  return request({
    url: 'sys-bpm/process/history',
    method: 'get',
    params,
  })
}